:root {
    --primary-color: #ffd700;
    --primary-light: #fff7cc;
    --primary-dark: #ffcd00;
    --danger-color: #ff4d4f;
    --success-color: #52c41a;
}

body {
    background-color: #fffdf5;
    margin: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.order-tabs {
    display: flex;
    margin-bottom: 20px;
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 16px;
    position: relative;
    transition: all 0.3s;
    border-radius: 4px;
}

.tab:hover {
    background-color: var(--primary-light);
}

.tab.active {
    color: var(--primary-dark);
    background-color: var(--primary-light);
    font-weight: bold;
}

.order-item {
    border: 1px solid #eee;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
    cursor: pointer;
}

.order-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eee;
    background-color: #fafafa;
    border-radius: 8px 8px 0 0;
}

.order-content {
    display: flex;
    padding: 20px;
    gap: 20px;
}

.product-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.product-price {
    color: var(--danger-color);
    font-size: 18px;
    font-weight: bold;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-top: 1px solid #eee;
    background-color: #fafafa;
    border-radius: 0 0 8px 8px;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-btn {
    padding: 8px 16px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn.primary {
    background: var(--primary-color);
    color: white;
}

.action-btn.danger {
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.action-btn:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.status-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 10px;
}

.status-pending {
    background-color: #fff7e6;
    color: #fa8c16;
}

.status-shipping {
    background-color: #e6f7ff;
    color: #1890ff;
}

.status-completed {
    background-color: #f6ffed;
    color: var(--success-color);
}

.status-cancelled {
    background-color: #fff1f0;
    color: var(--danger-color);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 500px;
    margin: 100px auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    color: #666;
}

.order-detail-section {
    margin: 15px 0;
    padding: 15px;
    background: #fafafa;
    border-radius: 4px;
}

.order-detail-section h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.detail-row {
    display: flex;
    margin: 8px 0;
}

.detail-label {
    width: 100px;
    color: #666;
}

.detail-value {
    flex: 1;
    color: #333;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ddd;
}

.star-rating {
    color: #ffd700;
    font-size: 18px;
    margin: 10px 0;
}

.comment-time {
    color: #999;
    font-size: 14px;
    margin-top: 10px;
}

.comment-content {
    margin: 15px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    line-height: 1.6;
} 